#pragma once
#include "imessage.h"
#include "stringmessage.h"
#include "stringmessage.h"

class ClientMessage:public IMessage
{
public:
	ClientMessage(SOCKID sock,SESSIONID sessionID):IMessage(MESSAGE_TYPE::CLIENT,sock)
	,m_sessionId(sessionID)
	{
		
	};
	virtual~ClientMessage() {};

	StringMsg& GetData() {
		return m_data;
	}

private:
	SESSIONID m_sessionId;
	StringMsg m_data;
};
